package cn.itcast.core;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @auther :hyh
 * @desc :
 * @date :2019/5/8
 */
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages = "cn.itcast.core.controller")
@ComponentScan("cn.itcast.core.service")
@EnableDiscoveryClient
public class Microservicecloud_feign_dept_consumer {
    public static void main(String[] args) {

        SpringApplication.run(Microservicecloud_feign_dept_consumer.class, args);
    }
}
